package 死循环;

import java.util.Scanner;

public class test02 {
    public static void main(String[] args) {
        for (; ; ) {
            Scanner sc = new Scanner(System.in);
            System.out.println("你满足了吗？（-1表示满足）");
            int x = sc.nextInt();
            if (x == -1) {
                break;
            }
        }
        System.out.println("gameover");

    }
}
